home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1998 March / Pc Users extra 6.iso / pshare95 / prog / zeus / examples.tx_ / examples.tx
Encoding:
Text File  |  1995-07-25  |  6.3 KB  |  162 lines

  1.   Zeus Example Information
  2.   ========================
  3.  
  4.   Zeus comes with several examples programs, files and batch files. These will 
  5.   show how it is possible to enhance the functionality of Zeus by using third 
  6.   party programs, data files and batch files.   
  7.  
  8.   Below you will find information regarding the examples provided and details 
  9.   on how to uses them. All of the files will have been copied from the install
  10.   disk and can be found in the Zeus zExample directory. 
  11.   
  12.   Zeus File Extension Keywords
  13.   ----------------------------
  14.   Zeus comes with keyword definitions for several programming languages. To use 
  15.   these files first create a new file extension using the Options Extensions menu 
  16.   item and then use the 'Import' button to select the required import file from 
  17.   the list provided. Below is a list of the keywords definitions files that have 
  18.   been provide and are ready for importing:
  19.  
  20.      ADA95.TXT    -  Ada 95 import file
  21.      ASM.TXT      -  8086 ASM import file
  22.      BASIC.TXT    -  BASIC import file
  23.      BAT.TXT      -  BATCH import file
  24.      C-CPP.TXT    -  C/C++ import file
  25.      CLIPPER.TXT  -  Clipper import file
  26.      CICODE.TXT   -  CI Code import file
  27.      COBOL.TXT    -  Cobol import file
  28.      DBASE.TXT    -  dBase import file
  29.      DELPHI.TXT   -  Delphi import file
  30.      FORTRAN.TXT  -  Fortran import file
  31.      HTML.TXT     -  HTML import file
  32.      JAVA.TXT     -  Java import file
  33.      PAS.TXT      -  Pascal import file
  34.      PERL.TXT     -  Perl import file
  35.      PYTHON.TXT   -  Python import file
  36.      REXX.TXT     -  REXX import file
  37.      SQL.TXT      -  SQL import file
  38.      TEX.TXT      -  LaTex import file
  39.      VHDL.TXT     -  VHDL import file
  40.   
  41.   If you find any of these keyword files are wrong or missing keywords 
  42.   please let me know as these files almost certainly will contain some
  43.   errors or omissions.
  44.  
  45.   
  46.   CC.BAT: Example of an External Compile Batch File
  47.   -------------------------------------------------
  48.   Zeus will run most compilers, linkers and makers without problems, but in 
  49.   some cases you may need to use an external batch file. The CC.BAT file is 
  50.   an example of how to configure Zeus to run the compile using an external 
  51.   batch file. To use the CC.BAT file just enter CC.BAT into the Run file
  52.   field of the Options Compiler dialog, making sure you have checked the 
  53.   'Use other file' checkbox option first. Then just compile any file using 
  54.   the Compiler Compile menu option to see the results.
  55.   
  56.  
  57.   PM.BAT: Example of an External Make Batch File
  58.   ----------------------------------------------
  59.   This is an example of a Project Make file written as a batch file. It is
  60.   for those who are not interested in using a make utility to build their 
  61.   projects but still want to use the project building features that Zeus 
  62.   offers.  This example illustrates how to use a simple batch file as the 
  63.   project file.  To use this file just edit the file using the Zeus editor 
  64.   and read the instructions that are contained within the file.
  65.   
  66.   
  67.   CTAGS: C/C++ Tag Example Tool
  68.   -----------------------------
  69.   The CTAGS.EXE is a simple tool designed to find all C/C++ functions,
  70.   variables and definitions. For more information refer to the CTAGS.C
  71.   file located in the zExample directory.
  72.   
  73.   To run this tool use and DOS command line, use the Zeus Tools
  74.   Command Line menu option and run the command from the Zeus command
  75.   line, or select the tool from the installed tool list of the Zeus
  76.   Tools menu.
  77.   
  78.   To make this application you will need MSVC Version 1.5 or
  79.   better or BC++ Version 4.5 or better. Just load the appropriate
  80.   make or project file and build the application.
  81.   
  82.   The CTAGS example is made up of the following files:
  83.   
  84.      CTAGS.MAK   -  Project make file
  85.      CTAGS.EXE   -  CTAGS executable
  86.      CTAGS.C     -  Main source file
  87.      WILDCARD.C  -  Wildcard processing source file
  88.      CTYPE.C     -  C types source file
  89.      CTYPE.H     -  C types header file
  90.      CONFIG.H    -  Configuration header file
  91.   
  92.   The CTAGS.EXE takes the following command line arguments:
  93.   
  94.      Usage: CTAG [flags] filenames...
  95.          -s  include static functions
  96.          -t  include typedefs
  97.          -v  include variable declarations
  98.          -r  generate a "refs" file, too
  99.          -a  append to "tags", instead of overwriting
  100.         
  101.   Examples: CTAGS.EXE -s ctag.c
  102.             CTAGS.EXE -s -t -v *.c
  103.   
  104.  
  105.   CINC: C/C++ Include Example Tool
  106.   --------------------------------
  107.   The CINC.EXE is a tool designed to scan the given C/C++
  108.   for include files. The results of the scan can be displayed
  109.   as a formatted tree output or as just a simple line output. 
  110.   The utility will also scan system include files if asked to
  111.   do so.
  112.   
  113.   The CINC example consists of the following file:
  114.   
  115.      CINC.MAK  -  Project make file
  116.      CINC.EXE  -  CINC executable
  117.      CINC.CPP  -  Main source file
  118.   
  119.   To run this tool use and DOS command line, use the Zeus Tools
  120.   Command Line menu option and run the command from the Zeus command
  121.   line, or select the tool from the installed tool list of the Zeus
  122.   Tools menu.
  123.   
  124.   To make the application you will need MSVC Version 1.5 or
  125.   better or BC++ Version 4.5 or better. Just load the appropriate
  126.   make or project file and build the application.
  127.   
  128.   The CINC.EXE takes the following command line arguments:
  129.   
  130.      Usage: CINC [flags] filename
  131.          -s  search system include files also
  132.          -f  format the display output
  133.      
  134.   Example: CINC.EXE -f cinc.c
  135.  
  136.   
  137.   FGREP: File GREP  Example Tool
  138.   ------------------------------
  139.   The FGREP.EXE is a simple GREP utility that can be used for 
  140.   scanning files for text strings.
  141.   
  142.   The FGREP example consists of the following file:
  143.   
  144.      FGREP.MAK  -  Project make file
  145.      FGREP.EXE  -  FGREP executable
  146.      FGREP.C    -  Main source file
  147.   
  148.   To run this tool use and DOS command line, use the Zeus Tools
  149.   Command Line menu option and run the command from the Zeus command
  150.   line.
  151.   
  152.   To make the application you will need MSVC Version 1.5 or
  153.   better or BC++ Version 4.5 or better. Just load the appropriate
  154.   make or project file and build the application.
  155.   
  156.   For more information on using FGREP run FGREP.EXE -?  
  157.    
  158.   Example: FGREP.EXE -n Example *.txt
  159.  
  160.  
  161.  
  162.